package com.itheima.stock.api;

import com.itheima.stock.response.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @Author lwx
 * @Date 2024/12/29 21:06
 */
@RequestMapping(path = "/api/task/")
public interface StockTaskAPI {

    @GetMapping(path = "/stock")
    ResponseResult<?> getStockInfo();

    @GetMapping(path = "/block")
    ResponseResult<?> getStockBlockInfo();

    @GetMapping(path = "/index")
    ResponseResult<?> getInnerMarketInfo();

}
